<?php
/*
 * Copyright 2013 by Jerrick Hoang, Ivy Xing, Sam Roberts, James Cook, 
 * Johnny Coster, Judy Yang, Jackson Moniaga, Oliver Radwan, 
 * Maxwell Palmer, Nolan McNair, Taylor Talmage, and Allen Tucker. 
 * This program is part of RMH Homebase, which is free software.  It comes with 
 * absolutely no warranty. You can redistribute and/or modify it under the terms 
 * of the GNU General Public License as published by the Free Software Foundation
 * (see <http://www.gnu.org/licenses/ for more information).
 * 
 */


/**
 * Staff class for Forestdale.
 * @author Joseph Chang
 * @version 1.0, modified 3/24/2014
 */
include_once(dirname(__FILE__).'/../database/dbStaff.php');

class Staff {
    private $user_name;
    private $first_name;
    private $last_name;
    private $password;
    
    function __construct($user, $fn, $ln, $pass)
    {
        $this->user_name = $user;
        $this->first_name = $fn;
        $this->last_name = $ln;
        $this->password = $pass;
    }
    
    /**
     *  getter function
     */
    function get_user_name() {
        return $this->user_name;
    }
    function get_first_name() {
        return $this->first_name;
    }
    function get_last_name() {
        return $this->last_name;
    }
    function get_password() {
        return $this->password;
    }
    
    /**
     *  setter function
     */
    function set_user_name($user_name) {
        $this->user_name = $user_name;
    }
    function set_first_name($first_name) {
        $this->first_name = $first_name;
    }
    function set_last_name($last_name) {
        $this->last_name = $last_name;
    }
    function set_password($password) {
        $this->password = $password;
    }
}
?>
